
// import {ADDCOUNTER,SUBCOUNTER} from './actionType'

import * as actionTypes from './actionType'

export const addCounter=(counter)=>{
    return {
        type:actionTypes.ADDCOUNTER,
        counter
    }
}

export const subCounter =(counter)=>{
    return {
        type:actionTypes.SUBCOUNTER,
        counter
    }
}
